Which of the following statement is correct about destructors?

Question:
Which of the following statement is correct about destructors?

1.A destructor has void return type.

2.A destructor has integer return type.

3.A destructor has no return type.

4.A destructors return type is always same as that of main().

Posted Date:-2021-02-24 09:16:11


More MCQS Questions and answers

Search
Olete Team
Online Exam Test Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on Online Exam Test website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!